﻿package com.sgcc.nfc.lock.domain.usecase

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.repository.RoomRepository
import javax.inject.Inject

class UpdateRoomUseCase @Inject constructor(
    private val repository: RoomRepository
) {
    suspend operator fun invoke(params: RoomRepository.UpdateRoomParams): NetworkResult<Unit> =
        repository.updateRoom(params)
}
